package ssm.com.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Order {

    private Integer orderId;
    private Integer doorId;
    private String orderNo;
    private String orderType;
    private String cashier;
    //@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String paymentType;
    private Double price;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date created;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updated;


}
